<?php
/*
*
* DDNS Script
* Creator : Hasan Asyari Arief
* Email : hasan.asyari@indonesiandeveloper.com
*/

$myFile = "developmnetsiteipaddress.txt";
$fh = fopen($myFile, 'w') or die("can't open file");

if ($fh != $_SERVER["REMOTE_ADDR"])
{
fwrite($fh, $_SERVER["REMOTE_ADDR"]);
fclose($fh);
}


?>